package gdata;

import com.google.inject.Module;
import com.google.inject.Binder;
import com.google.inject.Injector;
import com.google.inject.Guice;
import junit.framework.TestCase;

/**
 * Class description...
 *
 * @author mvu
 */
public class BlueTestBase extends TestCase implements Module {
  private Injector _injector;

  @Override
  protected void setUp() throws Exception {
    super.setUp();
    _injector = Guice.createInjector(this);
  }

  protected <T> T getInstance(java.lang.Class<T> tClass){
    return _injector.getInstance(tClass);
  }
  
  public void configure(Binder binder) {
  }
}
